package cc.siyecao.mapper.wrapper;

import cc.siyecao.mapper.enums.SqlConstants;
import cc.siyecao.mapper.function.Do;

public interface IWrapper<W> extends SqlConstants {
    /**
     * 函数化的做事
     *
     * @param condition 做不做
     * @param something 做什么
     * @return W
     */
    W maybeDo(boolean condition, Do something);

}
